<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>扫描二维码邀请加入</title>
    <link href="css/style.css" rel="stylesheet" type="text/css">
    <script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="commont.js"></script>
</head>
<body>
<div id="scanCodePage">
    <img class="codeImage" src = "./images/we.jpg">
    <div class="footer">
        <button class="joinBtn" type="button" onclick="joinGame()">进入游戏</button>
    </div>
</div>
<?php 
$openId = $_GET["openid"];
$tableNum = $_GET["tablenum"];
$url = "turnTable.php?openid=".$openId."&tablenum=".$tableNum;
// echo $url;
?>

<script>
var url = '<?php echo $url;?>';
function joinGame() {
    window.location.href=url;
}
</script>


</body>
</html>